package com.rm.zeyou.util.sms;

import java.security.SecureRandom;

/**
 * @Author ZhangKeChen  🤙🤙🏼🤙🏽
 * @Date 2023/1/5
 * @Description
 */
public class CreateSmsCode {
    /**
     * 创建验证码
     *
     * @return
     */
    public static String creatCode() {

        SecureRandom random = new SecureRandom();
        int i = random.nextInt(899999) + 100000;
        return i + "";
    }
}
